<?php


namespace App\Annotation;

use Hyperf\Di\Annotation\AbstractAnnotation;

/**
 * @Annotation
 * @Target("METHOD")
 */
class LogAnnotation extends AbstractAnnotation
{
    /**
     * 模块名
     * @var string
     */
    public $modul;

    /**
     * 方法
     * @var string
     */
    public $action;


    public function __construct($value = null)
    {
        parent::__construct($value);
        $this->bindMainProperty('action', $value);
    }

}